import request from '@/utils/request'
//培训班次学员接口
export function eduClassesStudentQuery(data) {
  return request({
    method: 'get',
    url: '/eduClassesStudent/query',
    params: data,
  })
}

export function eduClassesStudentQueryById(id) {
  return request({
    method: 'get',
    url: '/eduClassesStudent/query/' + id,
  })
}

export function eduClassesStudentAdd(data) {
  return request({
    method: 'post',
    url: '/eduClassesStudent/add',
    data,
  })
}

export function eduClassesStudentAddBatch(data) {
  return request({
    method: 'post',
    url: '/eduClassesStudent/addBatch',
    data,
  })
}

export function eduClassesStudentDelete(id) {
  return request({
    method: 'get',
    url: '/eduClassesStudent/delete/' + id,
  })
}

export function eduClassesStudentUpdate(data) {
  return request({
    method: 'post',
    url: '/eduClassesStudent/update',
    data,
  })
}
